#ifndef USERAI_H
#define USERAI_H
#include <vector>
#include <list>
#include "..\common\common.h"
using namespace std;

namespace AI9 {

	class UserAI {
	private:
		GameInfo* game;
		int my_id;
		
	public:
		UserAI(GameInfo* game, int user_id);
		vector<GeneralType> pickGeneral(int numGeneral, GeneralType yourType, vector<Pair> &pos, vector<SoldierType> &soldierType, vector<int> &numSoldier);
		vector<ActionBase*> getAction(GameInfo* game);
	};

	void initAI(GameInfo* game, int user_id);
	vector<GeneralType> getPick(int numGeneral, GeneralType yourType, vector<Pair> &pos, vector<SoldierType> &soldierType, vector<int> &numSoldier);
	vector<ActionBase*> getAction(GameInfo* game);
	void deleteAI();
}

#endif // USERAI_H
